<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
	<head th:replace="common/form :: head"></head>
	
	<body class="mainbody">
		<form method="POST" th:object="${obj}" enctype="multipart/form-data">
			<div th:replace="common/form :: location('便签管理',*{id} gt 0 ?'修改便签信息':'新增便签信息')"></div>
			<div id="floatHead" class="content-tab-wrap">
			  <div class="content-tab">
			    <div class="content-tab-ul-wrap">
			      <ul>
			        <li><a href="javascript:;">便签信息</a></li>
			      </ul>
			    </div>
			  </div>
			</div>
			<div class="tab-content">
				<dl>
					<dt>便签内容</dt>
				    <dd>
				      <input type="text" th:field="*{content}" class="input normal" data-type="*2-100" />
				      <span class="Validform_checktip">*姓名至少2个字符</span>
				    </dd>
				</dl>
				
				<dl>
					<dt>标签者</dt>
				    <dd>
				    	<span class="rule-multi-porp">
				    		<th:block th:each="employee2,employee2Stat:${@employeeService.getAllEmployees()}">
				    			
				    			<input type="checkbox" th:name="employeeId" th:value="${employee2.id}" th:if="${obj.employee2  == null}" />
								<input type="checkbox" th:name="employeeId" th:value="${employee2.id}" th:if="${obj.employee2 != null}" th:checked="${obj.employee2.id} == ${employee2.id}"/>
								<label th:for="'employee2['+${employee2Stat.count-1}+'].id'" th:text="${employee2.name}"></label>
				    		
				    		</th:block>
				    	
				    	</span>
				    </dd>
				</dl>
				
		
<!-- 				<dl> -->
<!-- 					<dt>创建时间</dt> -->
<!-- 				    <dd> -->
<!-- 				      <input type="date" th:field="*{createTime}" data-type="*2-10" class="input normal" /> -->
<!-- 				      <span class="Validform_checktip">*请填写创建时间</span> -->
<!-- 				    </dd> -->
<!-- 				</dl> -->
				
			
				 
			</div>
			<div th:replace="common/form :: footer"></div>
		</form>

<!-- 	<form class="form-horizontal" id="form_table" action="#" th:action="@{/console/batchImport}" enctype="multipart/form-data" method="post"> -->
<!--   		<div th:replace="common/form :: location('商品管理',*{id} gt 0 ?'修改商品信息':'新增商品')"></div> -->  
<!-- 		<input class="form-input" type="file" name="excel"></input> -->
<!-- 		<br/> -->
<!-- 		<button type="submit" class="btn">开始导入</button> -->
<!-- 	</form> -->


		<script type="text/javascript" th:replace="common/form :: formscript">
		</script>
	</body>
</html>